package cn.iocoder.yudao.module.course.controller.admin.category.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 分类管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CategoryPageReqVO extends PageParam {

    @Schema(description = "分类名称", example = "芋艿")
    private String name;

    @Schema(description = "分类类型 0 所有分类通用 1 素材 ", example = "2")
    private Integer type;

    @Schema(description = "父节点", example = "10885")
    private Long parentId;

    @Schema(description = "类级别，便于快速查询和排序（如0代表一级分类，1代表二级分类，以此类推）")
    private Integer categoryLevel;

    @Schema(description = "课程描述", example = "你说的对")
    private String description;

    @Schema(description = "行锁版本号")
    private Integer version;

    @Schema(description = "组归属部门（当前新增用户所在的部门）", example = "16119")
    private Long deptId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}